Information processing method

ABSTRACT

An information processing method, comprising acquiring a photographed image of a color sample including specific color markers, binarizing a signal indicating luminosity of the photographed image, detecting a marker area, plotting a color signal of the marker area on a color plane, labeling for a plotting result, and setting a color recognition parameter for identifying the color area of the specific color markers from the labeling result.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to setting color recognitionparameters for recognizing specific colors from an image.

[0003] 2. Description of the Related Art

[0004] There is a need for recognizing specific colors from an image forrecognizing color markers from the image. A color is recognized on acomputer by determining a specific color by determining whether a valueindicating a color of each pixel on a screen exists within apredetermined range.

[0005] For example, to detect a red color, pixel color-differencesignals Cb, Cr forming a pixel have been specified in the followingrange:

−1<Cb<+3 and +25<Cr<+127

[0006] In this case, to specify the red color, a set of values (−1, +3,+25, +127) has been used.

[0007] Generally, if the lighting or other conditions change, the rangefor specifying a specific color need be readjusted for the conditions.For example, color recognition parameters having been used under afluorescent lamp need be readjusted under an incandescent lamp.

[0008] Conventionally, an operator has adjusted the color recognitionparameters by adjusting values manually while observing a recognitionrate.

[0009] This kind of color recognition parameter adjustment, however,requires an operator to have a lot of skill and to repeat the same workfor each color inefficiently.

[0010] In addition, this kind of color specification method using a setof numerical values is not intuitive, which leads to a difficulty inspecifying a recognized color.

SUMMARY OF THE INVENTION

[0011] In view of these points, the present invention has been provided.Therefore it is an object of the present invention to reduce user'slabor for setting color recognition parameters by enabling the colorrecognition parameters to be set by analyzing a photographed image of acolor sample.

[0012] To achieve the above object, the present invention provides: aninformation processing method for setting a color recognition parameterfor recognizing a specific color from an image, comprising the steps ofacquiring a photographed image of a color sample in which markers arearranged in a predetermined pattern and finding (calculating) the colorrecognition parameters for detecting the markers by analyzing thephotographed image, wherein a predetermined guide pattern is added tothe color sample.

[0013] Other objects and advantages besides those discussed above shallbe apparent to those skilled in the art from the description of apreferred embodiment of the invention which follows. In the description,reference is made to accompanying drawings, which form a part thereof,and which illustrate an example of the invention. Such example, however,is not exhaustive of the various embodiments of the invention, andtherefore reference is made to the claims which follow the descriptionfor determining the scope of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014]FIG. 1 is a general view of hardware according to a firstembodiment;

[0015]FIG. 2 is a view showing a color recognition area in a Cb, Crspace;

[0016]FIG. 3 is a view showing parameters necessary for specifying thecolor recognition area;

[0017]FIG. 4 is a view showing a color sample panel;

[0018]FIG. 5 is a view showing an execution screen of the embodiment;

[0019]FIG. 6 is a view showing an example of a plotted color chart;

[0020]FIG. 7 is a view showing an example of setting a color recognitionarea from the color chart;

[0021]FIG. 8 is a flowchart according to the first embodiment;

[0022]FIG. 9 is a general view of hardware according to a secondembodiment;

[0023]FIG. 10 is a pattern diagram showing an operation of the secondembodiment;

[0024]FIG. 11 is a view showing an execution screen of the secondembodiment;

[0025]FIG. 12 is a color chart window;

[0026]FIG. 13 is a view showing an operation in dragging the center ofthe color recognition area;

[0027]FIG. 14 is a view showing an operation in dragging an edge of thecolor recognition area;

[0028]FIG. 15 is a flowchart of a main routine;

[0029]FIG. 16 is comprised of FIGS. 16A and 16B showing flowcharts of aroutine for processing an event to the color chart window;

[0030]FIG. 17 is a PAD showing a method of generating a colorrecognition table;

[0031]FIG. 18 is a flowchart of a routine for processing a captureevent; and

[0032]FIG. 19 is a pattern diagram showing hex-valuing of an image.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0033] (First Embodiment)

[0034] This embodiment relates to a color parameter setting device forsetting color parameters for detecting a specific color marker for animage processor finding the specific color marker in an image.

[0035] Referring to FIG. 1, there is shown a general view of a systemaccording to this embodiment. In the embodiment, the system mounts asoftware for a computer. A system of the embodiment comprises a computer100, a color sample panel 200, and a video camera 300.

[0036] The color sample panel 200 is photographed using the video camera300 and the image is imported to the computer 100. The computer 100extracts color information of the color sample panel 200 from theimported image and finds color parameters for recognizing a markerincluded in the color sample panel.

[0037] Each of the color parameters indicates an area on a Cb-Cr planeas shown in FIG. 2. The Cb-Cr plane is a color plane defined by acolor-difference signal indicating a hue of a luminance/color-differencesignal. The area is rectangular and radially extending from a startingpoint on the Cb-Cr plane. A shown in FIG. 3, the color parametersinclude parameters indicating a central point, a size in thecircumferential direction, a size in the radial direction of therectangle. The color recognition program uses the color parameters torecognize a color by determining whether the Cb and Cr values of a pixelcolor are within the rectangular area indicated by the color parameters.

[0038] Referring to FIG. 4, there is shown the color sample panel 200.In this embodiment, six colors are prepared as markers and arranged intwo rows and three columns in the color sample panel. On the colorsample panel 200, guide markers 210 are arranged in a lattice shape soas to be arranged at four corners of each marker. The computer 100recognizes the guide markers 210 to recognize a position of the colorsample panel 200 in the captured image.

[0039] Referring to FIG. 5, there is shown an operation screen of thisembodiment. The operation screen comprises a main window 500 and a colorchart window 600.

[0040] The main window 500 has a menu bar and it is provided to executedwhole control in this embodiment. An actual image is displayed on thelower half of the main window 500, while an image recognition view isdisplayed on the upper half of the main window 500.

[0041] The image recognition view is generated and displayed bycombining a monochrome image acquired by binarizing the actual imagewith an analysis result of the binary image. The binarization isexecutedly finding an average of luminosity of the full screen and usingthe average as a threshold. When a marker area 510 is recognized byanalyzing the binary image, the position of the marker area recognizedwith red is displayed on the binary image. In this embodiment, sixmarkers are used and therefore six marker areas are detected.

[0042] The color chart window 600 is a graph with Cb as a horizontalaxis and Cr as a vertical axis. It is used for plotting points at the Cband Cr values of the color sample resulting from recognizing the colorsample panel.

[0043] The program according to this embodiment locates the color samplepanel on the screen from the recognition result of the captured imageand finds the Cb and Cr values of the color sample. Thereafter, it plotspoints at the Cb and Cr values of the acquired color sample on the colorchart window.

[0044] The color of the plotted points depends upon a color sample. Thatis, different colors are plotted on different color samplesrespectively. The color recognition parameters are generated on thebasis of the color chart displayed on the window.

[0045] The program is always capturing an image from the video camera300 and when recognizing the color sample panel it plots the result ofthe recognition on the color chart window 600. If an angle of the colorsample panel changed 200 is or the like, a color chart is plotted in aform as shown in FIG. 6 in many cases.

[0046] The color recognition parameter is generated by choosing“calibrate” from the menu bar on the main window 500.

[0047] The color recognition parameters are generated on the basis ofthe color area plotted on the color chart window 600. The colorrecognition parameters correspond to the minimum rectangle containingthe maximum island made of points on the color chart. It is shown inFIG. 7 as an example.

[0048] Referring to FIG. 8, there is shown a flowchart of the mainroutine of the program according to this embodiment. The programoperates in an event-driven method. When it is completed to capture asingle screen from the video camera 300, a capture event occurs. When“calibrate” is chosen from the menu, a color parameter generation eventoccurs. The main routine is generally awaiting an event (S10) andperforms a capture event process (S12 to S19) and a color parametergeneration process (S21 to S22) according to an event that has occurred(S11, S20).

[0049] If a capture event occurs, the captured screen is imported andthe imported screen is displayed on the lower half of the main window500.

[0050] Thereafter, an average of luminosity of the full screen iscalculated and respective pixels forming the screen are binarized usingthe average (S13). This process is performed by using luminance signalsof the luminance/color-difference signals indicating the respectivepixels.

[0051] The binarized image is labeled to generate a list of pointsexpected to be guide markers 210 of the color sample panel 200 displayedon the imported screen (S14). The description of the labeling algorithmis omitted here since it is well known.

[0052] Points arranged in a lattice shape on four rows and three columnsare detected as guide markers from the labeling result and the colorsample panel 200 displayed on the screen is recognized (S15). To findout points arranged in the lattice shape from the list of the pointsgenerated based on the labeling, points arranged in a straight line areextracted with a Hough transform and a combination of straight lines isestimated to recognize the points from the evaluation result. Thedescription of the Hough transform algorithm is omitted here since it iswell known.

[0053] If the color sample panel 200 was found (S16), locations of thecolor samples (six colors) are calculated from the positions of thecolor sample panel 200 and an average of color information of thecorresponding locations on the original screen is calculated (S17).Unless the color sample panel 200 was found, the control progresses tostep S19.

[0054] The acquired color information is stored in an array of 256×256at the same time. This array corresponds to the points of the colorchart. In an initial state, the array is filled with only 0s (zeros).Then, color sample IDs 1 to 6 are substituted for the elements (Cb+128,Cr+128) according to the acquired color information.

[0055] The calculated color information is plotted on the color chartwindow 600 (S18).

[0056] Finally, the binarized image is displayed as a monochrome imageon the upper half of the main window 500 (S19). In addition, pointsarranged in a straight line found in a process of searching for thecolor sample panel are displayed in green and the position of the colorsample panel is displayed in red if the color sample panel 200 is found.

[0057] On the other hand, if a color parameter generation event occurred(S20), a color parameter is calculated on the basis of the array of256×256 where the information of the color chart 200 is stored (S21).After labeling with the content of the array, an island having thelargest area is found for each color. The values of the central pointsof the islands are assumed to be the Cb and Cr values of the colorparameters and the sizes of the rectangles each circumscribing eachisland as shown in FIG. 3 are recorded as color parameters of thecolors.

[0058] The acquired color parameters are written to a file (S22). Morespecifically, the operation is to write color IDs, the centers of therectangles, the sizes of the rectangles in the radial direction, and thesizes of the rectangles in the circumferential direction to the file.

[0059] According to this embodiment, the color recognition parameterscan be set by photographing a color sample, thereby reducing user'slabor for setting the color recognition parameters. Furthermore, thecolor sample includes a plurality of markers together with guide markersarranged in a lattice shape in such a way that they enclose each markerand therefore a marker area can be detected precisely from thephotographed image of the color sample. In this embodiment, the markerarea can be detected simply and precisely by using only signalsindicating luminosity. Still further, a plurality of markers havedifferent hues as shown in FIG. 2, and therefore the marker area can berecognized precisely by using signals indicating only hues, therebysimplifying the color recognition parameters.

[0060] (Second Embodiment)

[0061] This embodiment is an image processor for finding specific colormarkers in an image.

[0062] Referring to FIG. 9, there is shown a general view of a systemaccording to this embodiment. In the embodiment, the system mounts asoftware for a computer. In the embodiment, the system comprises acomputer 100, a video camera 200, and color markers 300 to 306.

[0063] The color marker 300 is photographed using the video camera 200and the image is imported to the computer 100. The computer 100 detectsthe color markers 300 to 306 from the imported image and calculatesbarycenters of their areas. The calculation result is output via anetwork. A pattern diagram of the operation in this embodiment is shownin FIG. 10.

[0064] Referring to FIG. 11, there is shown an execution screen of thisembodiment. The execution screen comprises a control window 1000, apreview window 1100, and a color chart window 1200.

[0065] The color chart window 1200 represents a plane with Cr as ahorizontal axis and Cr as a vertical axis. Color parameters of colors tobe recognized are represented by rectangular color recognition areas1201, 1202, 1203, 1204, 1205, and 1206 radially extending from astarting point on the Cb-Cr plane (FIG. 12). The color recognitionprogram determines a pixel color by determining whether Cb and Cr valuesof the pixel color are within the color areas 1201, 1202, 1203, 1204,1205, or 1206 when the pixel color is converted to the Cb and Cr values.

[0066] The color recognition areas 1201, 1202, 1203, 1204, 1205, and1206 are identified by a central point of the rectangle, a size thereofin the circumferential direction, and a size thereof in the radialdirection in the same manner as in the first embodiment.

[0067] The color marker is identified by specifying the colorrecognition area 1201, 1202, 1203, 1204, 1205, or 1206 corresponding toeach color of the color marker.

[0068] The color recognition areas 1201, 1202, 1203, 1204, 1205, and1206 can be moved by dragging a mouse on the color chart window and canbe changed in size. The operation is changed according to which portionof the color recognition area is dragged.

[0069] By dragging the mouse at the center of the color recognitionarea, the color recognition area can be moved (FIG. 13). After acompletion of the dragging, the point where a button of the mouse hasrisen (mouse up) is a new central point of the color recognition area.The color recognition area is moved in rotation around the startingpoint rather than in parallel. The moved color recognition area is alsoa rectangle radially extending from the starting point.

[0070] By dragging the mouse at an edge of the color recognition area,the size of the color recognition area can be changed (FIG. 14). After acompletion of the dragging, the point where the button of the mouse hasrisen is a new edge of the rectangle.

[0071] The control window 1000 has preview changeover switches 1001 and1002 of the preview window 1100. If the preview changeover switch 1001or 1002 is switched, the content displayed on the preview window 1100 ischanged to a direct image of the video camera 200 or to a result of thecolor recognition.

[0072] By graphically operating the color recognition areas 1201, 1202,1203, 1204, 1205, and 1206 while viewing the color recognition resultdisplayed on the preview window 1100, the recognized colors of the colorrecognition areas 1201, 1202, 1203, 1204, 1205, and 1206 can be adjustedto match the colors of the color markers.

[0073] Referring to FIG. 15, there is shown a flowchart of the mainroutine of the program according to this embodiment.

[0074] The program runs in the event-driven method. A capture eventoccurs when it is completed to capture a single screen from the videocamera 200. In addition, a mouse event occurs when a mouse is dragged onthe color chart window 1200. When a button is selected on the controlwindow, the control window event occurs.

[0075] The main routine is generally awaiting an event (S100) andperforms a video capture event process (S102), a color chart windowevent process (S104), and a control window event process (S106)according to an event that has occurred (a video capture completionevent in S101, a color chart window event in S103, or a control windowevent in S105).

[0076] Referring to FIGS. 16A and 16B, there is shown an internalflowchart of the process at an occurrence of the color chart event(S104).

[0077] If a mouse down event occurs in step S200, it is checked that acentral point of the color recognition area 1201, 1202, 1203, 1204,1205, or 1206 exists in the vicinity of the mouse coordinates (S202).

[0078] If the center of the color recognition area exists in thevicinity of the mouse, “under center movement” is substituted for avariable “drag mode” and an ID of the corresponding color recognitionarea is substituted for a variable “object color recognition area”(S203).

[0079] Unless the center of any of the color recognition areas exists inthe vicinity of the mouse, it is checked that an edge nearer thestarting point of the color recognition area 1201, 1202, 1203, 1204,1205, or 1206 exists in the vicinity of the coordinates of the mouse(S204).

[0080] If the edge nearer the starting point of the color recognitionarea exists in the vicinity of the mouse, “under internal endpointmovement” is substituted for the variable “drag mode” and an ID of thecorresponding color recognition area is substituted for the variable“object color recognition area” (S205).

[0081] Unless the edge nearer the starting point of any of the colorrecognition areas exists in the vicinity of the mouse, it is checkedthat an edge distant from the starting point of the color recognitionarea 1201, 1202, 1203, 1204, 1205, or 1206 exists in the vicinity of thecoordinates of the mouse (S206).

[0082] If an edge distant from the starting point of the colorrecognition area exists in the vicinity of the mouse, “under externalendpoint movement” is substituted for the variable “drag mode” and an IDof the corresponding color recognition area is substituted for thevariable “object color recognition area” (S207). Unless the centralpoint nor the edge of the color recognition area 1201, 1202, 1203, 1204,1205, or 1206 exists in the vicinity of the coordinates of the mouse,“NULL” is substituted for the variable “drag mode” (S208).

[0083] When a mouse up event occurs, the process is changed by thevariable “drag mode” (S220, S222, S224).

[0084] If the variable “drag mode” is “under center movement,” thecenter coordinates of the color recognition area specified by thevariable “object color recognition area” are replaced with thecoordinates of the mouse (S221).

[0085] If the variable “drag mode” is “under internal endpointmovement,” the center coordinates and the size in the radial directionamong the color parameters of the color recognition area specified bythe variable “object color recognition area” are updated in thefollowing method.

[0086] It is assumed that x and y represent the original centercoordinates, radiation_len represents the original size in the radialdirection, and mouse_x and mouse_y represent the mouse coordinates.Furthermore, assuming that new center coordinates is new_x, new_y andthat a new size in the radial direction is new_radiation_len as newcolor parameters, they are found using the following equation and thecolor parameters are updated (S223).

angle=atan2 (y, x);

x_offset=radiation_len*cos (angle)/2;

y_offset=radiation_len*cos (angle)/2;

opposite_x=x−x_offset;

opposite_y=y−y_offset;

new_x=(mouse_x+opposite_x)/2;

new_y=(mouse_y+opposite_y)/2;

new_radiation_len=sqrt (pow (mouse_x−opposite_x, 2)+pow(mouse_y−opposite_y, 2));

[0087] In other words, the position where the button of the mouse hasrisen becomes an edge (nearer the starting point) of the rectangleindicating a new color recognition area.

[0088] In the same manner, if the variable “drag modes” is “underexternal endpoint movement,” the center coordinates and the size in theradial direction among the color parameters of the color recognitionarea specified by the variable “object color recognition area” areupdated in the following method.

[0089] It is assumed that x and y represent the original centercoordinates, radiation_len represents the original size in the radialdirection, mouse_x and mouse_y represent mouse coordinates. Furthermore,assuming that new center coordinates are new_x, new_y and a new size inthe radial direction is new_radiation_len as new color parameters, theyare found using the following equations and the color parameters areupdated (S225).

angle=atan2 (y, x);

x_offset=radiation_len*cos (angle)/2;

y_offset=radiation_len*sin (angle)/2;

opposite_x=x+x_offset;

opposite_y=y+y_offset;

new_x=(mouse_x+opposite_x)/2;

new_y=(mouse_y+opposite_y)/2;

new_radiation_len=sqrt (pow (mouse_x−opposite_x, 2)+pow(mouse_y−opposite_y, 2));

[0090] If the position of the color recognition area is updated, a valueof the color recognition table is updated so as to match it (S226) andthen the window is re-drawn (S226).

[0091] The color recognition table is an array having the size of 32768(15 bits). The array corresponds to a 15-bit RGB value. It is storedthat the 15-bit RGB value corresponds to which color recognition area.FIG. 17 shows a PAD for generating the color recognition table.

[0092] First, the color recognition table is initialized to 0 (S300).Then, processes in steps S302 to S305 are performed for each of thecolor recognition areas (S301). For all the values 0 to 0xfffff of the15-bit RGB value (S302), a certain RGB value x is converted to Cb, Creach having 8 bits (S303); if the Cb, Cr values exist within the colorrecognition area, an ID of the color recognition area is substituted foran element having an index x of the color recognition table (S304).

[0093] Referring to FIG. 18, there is shown an internal PAD for theprocess at an occurrence of a capture event (S102).

[0094] First, a captured image is color-recognized and then hex-valuedso as to correspond to the colors of the color recognition areas asshown in FIGS. 16A and 16B (S401 to S403). Each part of the colorrecognition area is replaced with image data in numerical terms for eachcolor in such a way that a part of the color recognition area ID 1 (ablue portion) is replaced with 1 and a part of the color recognitionarea ID2 (a red portion) is replaced with 2. Other parts are consideredto be 0.

[0095] The captured image is received (S400) and processes in steps S402and S403 are performed for all the pixels of the image (S401). The colorrecognition table is referenced using a pixel value (15-bit RGB) as anindex to acquire the color recognition area ID corresponding to thepixel value (S402). The acquired color recognition area ID is written toan array having the same size as the image (640*240) as a colorrecognition result (S403).

[0096] The preview window is re-drawn on the basis of the array acquiredas the color recognition result (S404). The re-drawn image is displayedin a form of the captured image or of the color recognition result inthe view mode.

[0097] To display the color recognition result, the elements in thearray are displayed using black for 0, red for 1, blue for 2, and thelike for the corresponding pixels of the preview window.

[0098] The image data is labeled (S405) to generate a block dataindicating “which color exists in how large area around whichcoordinates.” The description of the labeling algorithm is omitted heresince it is generally known.

[0099] Regarding the labeling result, a packet is sent to a registeredclient via a network with a set of “a color ID, an area, (x, y)coordinates of the central point” of an image having a certain area(having 10 dots or more in this embodiment) (S406).

[0100] According to this embodiment, the color recognition parameterscan be adjusted intuitively and simply.

[0101] (Other Embodiments)

[0102] It is also possible to enable the color recognition parametersacquired in the first embodiment to be fine-adjusted in the methoddescribed in the second embodiment.

[0103] Furthermore, while the luminance/color-difference signal is usedin the above embodiments, other signals can be used only if it is asignal composed of a signal indicating luminosity such as L*a*b* and asignal indicating a hue.

[0104] In addition, the present invention encompasses a case in which asoftware program code for realizing the functions of the aboveembodiments is supplied to a computer in a device or a system connectedto various devices so as to operate to realize the functions of theabove embodiments and the various devices are operated according to theprogram stored in the computer (CPU or MPU) in the system or the device.

[0105] In this case, the software program code realizes the functions ofthe above embodiments and therefore the present invention comprises theprogram code or means for supplying the program code to the computersuch as, for example, a storage medium storing the program code.

[0106] The storage medium for storing the program code can be a floppydisk, a hard disk an optical disk, a magneto-optical disk, a CD-ROM, amagnetic tape, a nonvolatile memory card, or a ROM, for example.

[0107] Naturally, the present invention encompasses not only a programcode in the computer executed to realize the functions of the aboveembodiments, but also a program code executed in combination with anoperating system (OS) operating in the computer or with otherapplication software or the like to realize the functions of the aboveembodiments. Furthermore, apparently the present invention encompasses acase in which the supplied program code is stored in a feature expansionboard of the computer or in a memory in a feature expansion unitconnected to the computer and thereafter a CPU or the like in thefeature expansion board or the feature expansion unit performs a part orall of the actual processes on the basis of instructions of the programcode to realize the functions of the above embodiments in the processes.

[0108] Although the present invention has been described in itspreferred form with a certain degree of particularity, many apparentlywidely different embodiments of the invention can be made withoutdeparting from the spirit and the scope thereof. It is to be understoodthat the invention is not limited to the specific embodiments thereofexcept as defined in the appended claims.

What is claimed is:
 1. An information processing method for setting acolor recognition parameter for recognizing a specific color from animage, comprising the steps of: acquiring a photographed image of acolor sample in which markers are arranged in a predetermined pattern;and calculating the color recognition parameters for detecting themarkers by analyzing the photographed image, wherein a predeterminedguide pattern is added to the color sample.
 2. A method according toclaim 1, wherein the guide pattern is a lattice shape.
 3. A methodaccording to claim 1, wherein the guide pattern is arranged as a latticeshape enclosing the markers.
 4. A method according to claim 1, wherein amarker area is detected from the photographed image and wherein thecolor recognition parameters are generated from a color distributiongraph where color information of pixels in the marker areas is plottedon a two-dimensional plane.
 5. A method according to claim 6, whereinthe minimum polygon including points plotted on the color distributiongraph is calculated and wherein the color recognition parameters arecalculated from the polygon.
 6. An information processing method forsetting a color recognition parameter for recognizing a specific colorfrom an image, comprising the steps of: acquiring a photographed imageof a color sample including a specific color marker; binarizing a signalindicating luminosity of a photographed image and detecting a markerarea; plotting a color signal of the marker area; performing a labelingprocess for a result obtained by said plotting step; and setting a colorrecognition parameter for identifying a color area of the specific colormarker from a result obtained by the labeling process.
 7. A methodaccording to claim 6, wherein a result obtained by the detection of themarker area and the plotting result are displayed.
 8. An informationprocessing method for setting a color recognition parameter for use inrecognizing a specific color from an image, wherein the colorrecognition parameter is a parameter indicating a polygon extending in aradial direction from a starting point on a color plane.
 9. A methodaccording to claim 8, wherein the polygon is a rectangle.
 10. A methodaccording to claim 9, wherein the polygon extending in the radialdirection from the starting point on the color plane is displayedgraphically and wherein the color recognition parameter can be adjustedby adjusting the polygon on a display screen.
 11. A method according toclaim 10, wherein a method of adjusting the polygon is changed accordingto a starting position specified by a user in the polygon adjustment.12. A method according to claim 8, wherein a plurality of colorrecognition parameters can be set to recognize a plurality of specificcolors and wherein polygons respectively corresponding to the pluralityof color recognition parameters are displayed on the color plane.
 13. Aprogram for setting a color recognition parameter for recognizing aspecific color from an image, comprising the processes of: acquiring aphotographed image of a color sample in which markers are arranged in apredetermined pattern; and calculating the color recognition parametersfor detecting the markers by analyzing the photographed image, wherein apredetermined guide pattern is added to the color sample.